import unittest
from city_functions import city_country

class CityCountryTestCase(unittest.TestCase):
	"""测试 city_country"""
	def test_city_country(self):
		city = city_country("santiago", "chile")
		self.assertEqual(city, "Santiago, Chile")

	def test_city_country_population(self):
		self.assertEqual(city_country('santiago', 'chile', 5000000),
			'Santiago, Chile - population 5000000')
if __name__ == '__main__':
	unittest.main()